<?php include "../public/header.php";?>
<?php include "../public/header_show.php";?>
<body id="xiangqingPage">
<div id="xiangqingBox">
    <div class="page-title">
        <div class="page-title-con">
            <span class="pageshowtitle">详情</span>
            <div class="page-title-opt-list">
                <?php include "../public_flow/flow_show_optbut.php";?>
                <button class="layui-btn layui-btn-sm btn-light marginr5 opt">
                    操作<i class="layui-icon layui-icon-down layui-font-12"></i>
                </button>
                <span id="page-close" class="page-close" onclick="layer_close()">×</span>
            </div>
        </div>
    </div>
    <div class="main-container">
        <div><?php include "../public_flow/flow_show_info.php";?></div>
        <div class="table-box tablenes">
            <div class="title">基本信息</div>
            <table class="layui-table">
                <tbody>
                <tr><td class="tt">专业类别</td><td id="basetype_dian" class="tv"></td><td class="tt">项目名称</td><td id="pinname" class="tv"></td></tr>
                <tr><td class="tt">项目特征描述</td><td id="guige" class="tv"></td><td class="tt">计量单位</td><td id="valunit" class="tv"></td></tr>
                <tr><td class="tt">不含税单价</td><td id="noratefee" class="tv"></td><td class="tt">品牌或厂商</td><td id="pinpai" class="tv"></td></tr>
                <tr><td class="tt">供货负责人</td><td id="gongname" class="tv"></td><td class="tt">联系方式</td><td id="gongtel" class="tv"></td></tr>
                <tr><td class="tt">价格日期</td><td class="tv" id="pridt" colspan="3"></td></tr>
                <tr><td class="tt">备注1</td><td class="tv" id="explain" colspan="3"></td></tr>
                <tr><td class="tt">备注2</td><td class="tv" id="explaintwo" colspan="3"></td></tr>
                </tbody>
            </table>
        </div>

        <div><?php include "../public/upinfo_show.php";?></div>

        <div><?php include "../public_flow/flow_show_flowrelas.php";?></div>

        <div><?php include '../public_flow/flow_show_shenlog.php'?></div>
        <div><?php include '../public_flow/flow_show_talk.php'?></div>
        <div><?php include '../public/opt_browse.php'?></div>
    </div>
</div>
<script>
    var param_id = getQueryVariable('id') || 0;

    layui.use(['form', 'layer', "laytp",'element','dropdown','laypage','table','soulTable'], function() {
        var laypage = layui.laypage, table = layui.table, dropdown = layui.dropdown, form = layui.form, soulTable = layui.soulTable,element = layui.element;

        facade.ajax({url: ask_main_base_dian_show, data:{id: param_id}}).done(function(res){
            if (res.code === 2000) {
                var data = res.data.data;
                $("#basetype_dian").text(data.basetype_dian);
                $("#pinname").text(data.pinname);
                $("#guige").text(data.guige);
                $("#valunit").text(data.valunit);
                $("#noratefee").text(data.noratefee);
                $("#pinpai").text(data.pinpai);
                $("#gongname").text(data.gongname);
                $("#gongtel").text(data.gongtel);
                $("#pridt").text(data.pridt);
                $("#explain").text(data.explain);
                $("#explaintwo").text(data.explaintwo);

                // $(".pageshowtitle").text('机电价格库');
                public_upload_show_file('upload_files', res.data.files);
                render_from();
            }
        });


        public_get_readsandlog('main_base_dian', param_id);
        showpage_dropopt();
    });



</script>
</body>
</html>




